package com.lyz.anli;

/**
 * 取101~200 质数 只能被1与它本身整除
 */
public class De2zss {
    public static void main(String[] args) {
        int zuoquj = 101;
        int youquj = 200;
        for (int i = zuoquj; i <= youquj ; i++) {
            for (int j = 2; j <= i/2; j++) {
                if(i%j==0){
                    break;
                }
                if(j==i/2){
                    System.out.println(i);
                    break;
                }
            }
        }
    }
}
